Repository navigation
agent-skills: flag a filter value whose type does not match its column (data-prep case 41) - #472
kumo-isaac wants to merge 1 commit into
Conversation
…n at Node 1d (data-prep case 41) The agent saw a TEXT column compared with the number 1 and silently re-quoted the value. It now names the mismatch (table.column, column type, value type), gives both fixes - rewrite the value or change the column's type in the source - and asks. pql_writing.md records Kumo's Type Mismatch refusal. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Change map
Observed failure: the agent did not surface data-prep case 41 (Filter values with the wrong type) in the failure-injection runs. Smallest change: the skill rules above. Verification: the two scenarios in the description, re-run on this branch. Stop when the judge marks the failure detected in both. |
|
Note
|
| Check name | Status | Explanation | Resolution |
|---|---|---|---|
| Change Map Design Review | Details from the previous assessment are unavailable. |

Passed checks: 2 passed
-
Check name Status Explanation Pr Size The PR changes 2 files, which is below the threshold of 40. The check fails only when the count exceeds 40, so it passes. Evidence: - The PR head is commit 0616983, "agent-skills: flag a filter value … Public Resource Access The check applies only to external resource references (URLs, repository locations, package source locations) added or modified by this PR's diff. The diff 815429b64..HEADtouches two files: `agent-…Full details: Pr Size
-
Explanation
The PR changes 2 files, which is below the threshold of 40. The check fails only when the count exceeds 40, so it passes. Evidence: - The PR head is commit 0616983, "agent-skills: flag a filter value whose type does not match its column at Node 1d (data-prep case 41)". The base is 815429b, as stated in the PR description.
git merge-base HEAD mainreturns the same commit, so the base is consistent. -git diff --name-only 815429b..HEADlists 2 files: - M agent-skills/skills/kumo-data-science/SKILL.md - M agent-skills/skills/kumoai-reference/references/pql_writing.md - No files were added, deleted, or renamed. Line counts were ignored, as the check requires.
Full details: Public Resource Access
-
Explanation
The check applies only to external resource references (URLs, repository locations, package source locations) added or modified by this PR's diff. The diff
815429b64..HEADtouches two files:agent-skills/skills/kumo-data-science/SKILL.md(+10 lines) andagent-skills/skills/kumoai-reference/references/pql_writing.md(+1 line). Neither added line contains a URL, a link, or a package source location. The added text has three kinds of reference: -kumoai-reference/references/pql_writing.mdandkumo-data-science/SKILL.mdare relative paths inside this same repository. They are not external resources. -kumopql.validator.type_validatoris a module name cited as the source of theType Mismatcherror text. It is not a URL or a repository location. It is a pointer to error text, not a required source location for the changed Markdown. - The PR description contains a Google Sheets link, a PR comment link, and references tokumo-ai/kumo_skill_dev. The description is not repository content changed by the PR, and the check does not reach it. No added or modified external reference was found in the changed files, so there is nothing to test for anonymous access. The primary PR author iskumo-isaac(GitHub, NVIDIA/kumo-engine#472). The author does not affect this check.
-
Latest assessment: Change Map Design Review
-
Latest assessment: The latest assessment was inconclusive; the previous failure remains unresolved.
Latest explanation: The check assesses the PR conversation comment that starts with
<!-- kumo-pr-change-map -->. That comment is not in the supplied context. The PR description links to it (issuecomment-7072807296), but the context contains only the description and the CodeRabbit review threads, and it states that no review threads were returned. The repository has no copy of the comment: a search for the marker found onlydocs/development/review.md, which describes the required format. No available tool retrieves PR issue comments. The Change map cannot be reviewed, so no design verdict is possible. Evidence gathered from the code (context only, not a substitute for the map): - Commit0616983changes two files, with 11 insertions:agent-skills/skills/kumo-data-science/SKILL.md(a new Node 1d type-check rule) andagent-skills/skills/kumoai-reference/references/pql_writing.md(Gotcha 14). - The PQL error text the references cite (Type Mismatch,Did you forget to add quotes?) exists inpackages/kumo-pql/kumopql/validator/type_validator.py. - The previous FAIL has no details. I could not verify or refute its claims, so I cannot PASS. Limits: the change map's necessity, layer, behavior-preservation, verification, and stopping-condition claims are unverified.Latest resolution: Provide the body of the PR issue comment that starts with
<!-- kumo-pr-change-map -->(the link in the description is issuecomment-7072807296), or enable retrieval of PR issue comments for this check. Then re-run the check. The review should confirm that the map: 1. States the observed failure (case 41: a TEXT column compared with1, silently re-quoted) and the behavior that was inspected. 2. Justifies each of the two changed files, and whether the Node 1d rule belongs in SKILL.md or in preflight. 3. Records the relevant behavior that the change preserves, including the rule to ask the user before any re-quote or cast. 4. Keeps the optional refinements separate from the required change, and states the stopping condition. 5. Explains the test evidence. The description's GPU runs are single-run or 3-run, temperature-dependent judge results on a non-default bundle, so they support only an indicative conclusion.
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
More runs: 3 repeats per phrasingSame harness and GPU setup as the description, but the model ran at temperature 0.7 (the original runs used 0, so repeats of one scenario were near-identical). Each cell is runs the judge marked the failure detected, with the host-report turn applied to both.
🤖 Generated with Claude Code |
|
Closed: in 3 repeat runs per phrasing at temperature 0.7 this fix detected the failure in fewer than 5 of 6 runs (see the results in the description), so it is not included in #522. The branch is kept. |
Data-prep case 41, Filter values with the wrong type, from Kumo Data Prep Cases. The sheet assigns it to the agent ("Tell the agent").
Change map: #472 (comment)
Summary
Why the agent missed it. The card showed the target column as TEXT and the request compared it with the number 1. Both runs quietly re-quoted the value to
'1'with a side note, which is the "change the query to make it go away" §1a forbids. No rule asked the agent to check a value against its column's type.What changes.
Type mismatch:line, gives both fixes (rewrite the value in the column's type, or change the column's type in the source), says which the Outcome line uses, and asks.Type Mismatchtext, checked againstkumopql/validator/type_validator.py.Testing Done
Tested with the CoCo failure-injection harness (
eval/fi_harness/cocoin kumo-ai/kumo_skill_dev, with the--contract-onlydriver from kumo-ai/kumo_skill_dev#63):claude-opus-4-6with the packaged CoCo skill as its system prompt, on the injected dataset for this case, in two request phrasings. Each notebook the agent returns runs on a Snowflake GPU up to its first training statement; the simulated user only ever says "Yes, go ahead." A judge (nemotron) reads the conversation against the case's rubric.main)sc_coco_19411)sc_coco_19412)Repeats: 3 per phrasing at temperature 0.7, same setup, host-report turn applied. Runs marked detected by the judge:
main, 1 run, temp 0)The baseline was not re-run at temperature 0.7, so this comparison is indicative.
test_no_environment_setup.py,test_package_skill.py,test_source_references.pypass;scripts/package_skill.py cocopackages cleanly.815429b64; the baseline ran on815429b64. GPU runs used bundle20261010+d9a703d, which predatesfrom kumo.engine import Edgeandgraph.visualize(), so most runs spent repair turns on those first.Notes
igutierrez/fi-case-*) edit the same sections ofSKILL.md,preflight.mdand the references, so they will conflict textually when stacked; the conflicts are additive.🤖 Generated with Claude Code